package com.example.business.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.business.dao.entity.NewsDetails;
import org.apache.ibatis.annotations.Param;

public interface NewsDetailsMapper extends BaseMapper<NewsDetails> {
    // 自定义方法：根据新闻ID查询详情
    NewsDetails selectByNewsId(@Param("newsId") Long newsId);
}